﻿using UnityEngine;
using System.Collections;

public class FadeTrigger : MonoBehaviour, ISkillTrigger {

	protected bool enable;
	protected System.EventHandler<SkillTriggerMsg> evtTrigger;

	// Use this for initialization
	void Start () {
		enable = false;
	}
	
	// Update is called once per frame
	void Update () {
	
	}

	public void EnbaleTirgger(bool Enable)
	{
		enable = Enable;
	}
	
	public void BindHanle(System.EventHandler<SkillTriggerMsg> handle)
	{
		evtTrigger += handle;
	}
}
